import Layout from '@/layout/Layout'

const documentRouter = {
  path: '/document',
  component: Layout,
  redirect: 'noredirect',
  name: '文档管理',
  meta: {
    title: '文档管理',
    icon: 'fa-folder-open-o'
  },
  children: [
    {
      path: 'documentInfoManagement',
      component: () => import('@/views/document/DocumentInfoManagement'),
      name: 'DocumentInfoManagement',
      meta: { title: '文档管理', cache: true }
    },
    {
      path: 'documentClassifyManagement',
      component: () => import('@/views/document/DocumentClassifyManagement'),
      name: 'DocumentClassifyManagement',
      meta: { title: '文档分类', cache: true }
    }

  ]
}

export default documentRouter
